﻿using System;

namespace ProxyPattern
{
    internal class Proxy : Subject
    {
        private ConcreteSubject _concreteSubject;

        public override void Request()
        {
            if (_concreteSubject == null)
            {
                _concreteSubject = new ConcreteSubject();
            }
            _concreteSubject.Request();
        }

        internal string Add(int v1, int v2)
        {
            throw new NotImplementedException();
        }
    }

}



